<div class="r_img_list">
	<ul>
{loop $data $n $r}	
	<li><a href="{$r[url]}" target="_blank" title="{$r[title]}"><img src="{thumb($r[thumb], $width, $height)}" width="178" height="142" alt="{$r[title]}" /></a><a href="{$r[url]}" target="_blank">{str_cut($r[title], $titlelen,'')}</a></li>
{/loop}	
	</ul>
</div>
{if $pages}<p id="pages">{$pages}</p>{/if}